home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Psetpgrp(2) Oct. 1, 1991 Psetpgrp(2)
-
-
- N✓NA✓AM✓ME✓E
- Psetpgrp - set the process group number for a process
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- LONG Pgetpgrp(WORD pid, WORD neewgrp);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓P_✓s_✓e_✓t_✓p_✓g_✓r_✓p sets the process group of the process with pro-
- cess id _✓p_✓i_✓d to the number _✓n_✓e_✓w_✓g_✓r_✓p. The process must have
- the same user id as the current process, or must be a
- child of that process. If _✓p_✓i_✓d is 0, the process group of
- the current process is set. If _✓n_✓e_✓w_✓g_✓r_✓p is 0, then the pro-
- cess group is set equal to the process id of the process.
-
- R✓RE✓ET✓TU✓UR✓RN✓NS✓S
- The new process group number, if successful.
-
- EFILNF if process _✓p_✓i_✓d does not exist.
-
- EACCDN if the process with id _✓p_✓i_✓d has a different user id
- and is not a child of the calling process.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- _✓P_✓k_✓i_✓l_✓l(2), _✓P_✓g_✓e_✓t_✓p_✓g_✓r_✓p(2), _✓P_✓g_✓e_✓t_✓p_✓i_✓d(2)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.9 MiNT Programmer's Manual 1
-
-
-